package cn.gwm.flink.streaming.constant;

/**
 * 热失控类型
 * @author GW00283474
 */

public enum TermalRunawayTypeEnum {

    TEMPERATURE("temperature","温度异常"),
    VOLTAGE("voltage","电压异常"),
    TEMPERATUREDIFFERENCE("temperatureDifference","温差异常"),
    TEMPERATURERISE("temperatureRise","温升异常"),
    VOLTAGEVARIATION("voltageVariation","电压变化异常"),
    TERMALRUNAWAY("termalRunaway","行车热失控异常"),
    TERMALRUNAWAYOFSTOP("termalRunawayOfStop","停车热失控异常");

    private String key;private String value;
    TermalRunawayTypeEnum(String key, String value) {
        this.key=key;this.value=value;
    }

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
